/**
 * \class Randomizer.cpp /GenProg/RandomPkg/Randomizer.cpp
 *
 *  \date 23 nov 2012
 *  \author ytc0039
 *  
 *  \brief 
 */
#include <RandomPkg/Randomizer.h>
namespace RandomPkg{

	std::string Randomizer::generateRandomString(int minNrLetters,int maxNrLetters)
	{
		static const std::string chars("abcdefghijklmnopqrstuvwxyz");
		std::string out;
		int nrOfLetters = createRandom<int>(minNrLetters,maxNrLetters);

		for(int i=0; i < nrOfLetters; ++i )
		{
			out += chars[createRandom<int>(0,chars.size()-1)];
		}

		return out;
	}

}
